<script setup>
import {useRoute} from 'vue-router';

const route = useRoute();
</script>

<template>
<div>
  <h2>订单详情</h2>
  <p>订单id: {{$route.query.id}}</p>
  <p>订单金额: {{$route.query.money}}</p>
  <p>支付方式: {{$route.query.type}}</p>
  <hr />
  <p>订单id: {{route.query.id}}, 订单金额: {{route.query.money}}, 支付方式: {{route.query.type}}</p>
</div>
</template>

<style scoped>

</style>